#include <string.h>
#include <jni.h>
#include <stdlib.h>
#include <stdio.h>
#include <android/log.h>
#include <unistd.h>

jstring 
Java_com_explorer_ShowProcessActivity_killProcess ( JNIEnv* env,jobject thiz,jstring command )
{
  const char *comm=(*env)->GetStringUTFChars(env,command,0);
  //  __android_log_print(ANDROID_LOG_INFO,"killProcess","=============== kill command \n %s",comm);
  //  system("su");
  system(comm);
  return (*env)->NewStringUTF(env,comm);
}
